package utils;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class XmlParameters implements Serializable{

	/**
	 *
	 */
	private static final long serialVersionUID = 1L;
	//	private ArrayList<XmlFile> inputFiles;
	private ArrayList<XmlFile> AlgorithmInputs;
	private ArrayList<XmlAlgorithmOutput> algorithmOutputs;
	private ArrayList<XmlAlgorithmParam> algorithmParams;



	public ArrayList<XmlFile> getAlgorithmInputs() {
		return AlgorithmInputs;
	}
	public void setAlgorithmInputs(ArrayList<XmlFile> algorithmInputs) {
		AlgorithmInputs = algorithmInputs;
	}
	/*public ArrayList<XmlFile> getInputFiles() {
		return inputFiles;
	}
	public void setInputFiles(ArrayList<XmlFile> inputFiles) {
		this.inputFiles = inputFiles;
	}*/
	public ArrayList<XmlAlgorithmOutput> getAlgorithmOutputs() {
		return algorithmOutputs;
	}
	public void setAlgorithmOutputs(ArrayList<XmlAlgorithmOutput> algorithmOutputs) {
		this.algorithmOutputs = algorithmOutputs;
	}
	public ArrayList<XmlAlgorithmParam> getAlgorithmParams() {
		return algorithmParams;
	}
	public void setAlgorithmParams(ArrayList<XmlAlgorithmParam> algorithmParams) {
		this.algorithmParams = algorithmParams;
	}
	@Override
	public String toString() {
		String inputFiles = "";
		//	for(XmlFile file:this.inputFiles){
		for(XmlFile file:this.AlgorithmInputs){
			inputFiles += file.toString();
		}
		String outputs = "";
		for(XmlAlgorithmOutput output:this.algorithmOutputs){
			outputs += output.toString();
		}
		String params="";
		for(XmlAlgorithmParam param : this.algorithmParams){
			params += param.toString();
		}
		return "XmlParameters [inputFiles=" + inputFiles + ", algorithmOutputs=" + outputs
				+ ", algorithmParams=" + params + "]";
	}

}
